﻿using System.Threading.Tasks;
using Abp.Application.Services;
using FwProject.Authorization.Accounts.Dto;

namespace FwProject.Authorization.Accounts
{
    public interface IAccountAppService : IApplicationService
    {
        Task<IsTenantAvailableOutput> IsTenantAvailable(IsTenantAvailableInput input);

        Task<RegisterOutput> Register(RegisterInput input);

        void  EditRestPassword(string Mobile, string newPassword);

       void  EditRestTokenPassword(string Mobile, string token, string newPassword);

       void EditPassword(long id, string newPassword);
    }
}
